package com.ruoyi.common.entity.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;

@Data
public class ProjectDetailDTO implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String title;
    private String date;
    private String tag;
    private String contentTitle;
    private ProjectIntroDTO projectIntro;
    private CourseCatalogDTO courseCatalog;
    private String resourceUrl;
    private String learnButton = "立即学习此项目"; // 默认值
    
    // getters & setters
}